How to Recognise Different Kinds of Tree Patterns From Quite a Long Way Away
نویسندگان
چکیده
Tree patterns are one of the main abstractions used to access XML data. Tree patterns are used, for instance, to define XML indexes, and support a number of efficient evaluation algorithms. Unfortunately deciding whether a particular query, or query fragment, is a tree pattern is undecidable for most XML Query languages. In this paper, we identify a subset of XQuery for which the problem is decidable. We then develop a sound and complete algorithm to recognize the corresponding tree patterns for that XQuery subset. The algorithm relies on a normal form along with a set of rewriting rules that we show to be strongly normalizing. The rules have been implemented and result in a normal form which is suitable for compiling tree patterns into an appropriate XML algebra.
منابع مشابه
Ancient Iranian Earthquakes: Chehr-Abad Salt Mine
Modern plate tectonic theory, the development of earthquake prediction and the mitigation of earthquake hazards are based on the study of earthquakes during the twentieth century. Investigation of earthquakes over a much longer period, although in no way invalidating the global importance of plate tectonics, shows that patterns of seismic activity do change with time and that areas of intense s...
متن کاملنشانهشناسی قالی محرابی: بازتاب معماری مسجد در نقش فرش
Various Persian traditional arts can be understood as different aspects of a unique concept. All of them represent substantial meanings which root in both Islamic and Iranian beliefs. The symbolic language of these arts and the ability of being expressed in various arts let artists to choose proper methods for their work. Rug and architecture are the most important Persian arts and two aspects ...
متن کاملLong Waiting Times for Elective Hospital Care – Breaking the Vicious Circle by Abandoning Prioritisation
Background Policies assigning low-priority patients treatment delays for care, in order to make room for patients of higher priority arriving later, are common in secondary healthcare services today. Alternatively, each new patient could be granted the first available appointment. We aimed to investigate whether prioritisation can be part of the reason why waiting times for care are often...
متن کاملInfluence of Windbreak-trees on the Soil'sPhysical and Chemical properties, Humidity and Erosion in Arid Regions (Case Study: Semi-arid Lands of Aaran and Bidgol)
When aerial parts of the plants capable of storing absorbing mineral salts in their leaves fall, these dissolved materials are transferred to the soil surface, changing its physical and chemical properties. In this study, we have investigated the influence of the Haloxylon tree on the physical and chemical properties, and also humidity of the soil using two, 300 m long transects one canopy of t...
متن کاملPropose a New Model for Prediction of the Impact Wear Using an Experimental Method
Impact wear can be defined as the wear of a solid surface that is due to percussion, which is a repetitive exposure to dynamic contact by another solid body. It generally has the devastating effects on the mechanical elements and causes the equipments to shift away from their normal performance. Impact wear has not been studied as extensive as other wear mechanisms and as a result information o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007